<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$base_menuName =array('product'=>'商品管理','orderindex'=>'订单管理','storage'=>'采购库存','datareport'=>'数据报表','factory'=>'工厂管理','oversea'=>'海外管理','expressshipment'=>'物流管理','management'=>'系统设置',);

$menudb =array('商品管理'=>array('商品管理'=>array('商品管理'=>array('power'=>'productlist','link'=>'/product/productlist','rank'=>'2'),
'商品列表'=>array('power'=>'productlists','link'=>'/product/productlist','rank'=>'3'),
'新品开发'=>array('power'=>'productnewproduct','link'=>'/product/newproduct','rank'=>'3'),
'外采开发'=>array('power'=>'externalBuyextBuyList','link'=>'/externalBuy/extBuyList','rank'=>'3'),
'商品销量'=>array('power'=>'productgoodssale','link'=>'/product/goodssale','rank'=>'3'),
'商品推荐'=>array('power'=>'datareportsaleplatform','link'=>'/datareport/saleplatform','rank'=>'3'),
),
'在线商品管理'=>array('在线商品管理'=>array('power'=>'uploadproduct','link'=>'uploadproduct','rank'=>'2'),
'Wish在线商品'=>array('power'=>'wishproductupload','link'=>'/wishproduct/wishproductupload','rank'=>'3'),
'Magento在线商品'=>array('power'=>'magentoproductlist','link'=>'/magento/productlist','rank'=>'3'),
'ebay在售商品'=>array('power'=>'magentoproductlist','link'=>'/EbayProduct/productlist','rank'=>'3'),
'Amazon在售商品'=>array('power'=>'','link'=>'/shopgoods/showGoodsList','rank'=>'3'),
),
'商品配置'=>array('商品配置'=>array('power'=>'productset','link'=>'/product/set','rank'=>'2'),
'商品分类'=>array('power'=>'productcategory','link'=>'/product/category','rank'=>'3'),
'商品类型'=>array('power'=>'productattribute','link'=>'/product/attribute','rank'=>'3'),
'销售SKU列表'=>array('power'=>'productsaleskulist','link'=>'/product/saleskulist','rank'=>'3'),
),
),
'订单管理'=>array('订单流程'=>array('订单流程'=>array('power'=>'orderlist','link'=>'orderlist','rank'=>'2'),
'订单列表'=>array('power'=>'orderlistorderlist','link'=>'/orderlist/orderlist','rank'=>'3'),
'新建订单'=>array('power'=>'orderlistaddorder','link'=>'/orderlist/addorder','rank'=>'3'),
'订单待审查'=>array('power'=>'orderlistorderlog','link'=>'/orderlist/orderlog','rank'=>'3'),
'合并订单'=>array('power'=>'orderlistmergeorder','link'=>'/orderlist/mergeorder','rank'=>'3'),
'拆单提醒'=>array('power'=>'splitOrderList','link'=>'/MoneyRateManage/splitOrderList','rank'=>'3'),
),
'其他相关'=>array('其他相关'=>array('power'=>'autoorderlist','link'=>'autoorderlist','rank'=>'2'),
'网站赞助'=>array('power'=>'orderlistamazonorder','link'=>'/magento/sponsor','rank'=>'3'),
'亚马逊FBA订单'=>array('power'=>'amazonfba','link'=>'/order/amazonfba','rank'=>'3'),
'亚马逊入库记录'=>array('power'=>'orderfulflllment','link'=>'/order/fulflllment','rank'=>'3'),
'Ebay消息管理'=>array('power'=>'EbayMessage','link'=>'/EbayMessage/index','rank'=>'3'),
'ebay账单列表'=>array('power'=>'productgetEbayBillList','link'=>'/EbayMessage/getEbayBillList','rank'=>'3'),
),
'订单配置'=>array('订单配置'=>array('power'=>'orderset','link'=>'orderset','rank'=>'2'),
'订单搜索脚本'=>array('power'=>'orderlistordersearchlist','link'=>'/order/ordersearchlist','rank'=>'3'),
),
'退款管理'=>array('退款管理'=>array('power'=>'PayPal','link'=>'PayPal','rank'=>'2'),
'PAYPAL退款'=>array('power'=>'paypalpaypalRefundTo','link'=>'/paypal/paypalRefundTo','rank'=>'3'),
'PAYPAL交易明细'=>array('power'=>'paypalsearchnotes','link'=>'/paypal/ajaxbutton?op=searchnotes&where=*&TYPE=Paymentl','rank'=>'3'),
'亚马逊直发退款'=>array('power'=>'orderamazoncancel','link'=>'/order/amazoncancel','rank'=>'3'),
'WISH退款'=>array('power'=>'wishproductwishrefund','link'=>'/wishproduct/wishrefund','rank'=>'3'),
),
),
'采购库存'=>array('采购管理'=>array('采购管理'=>array('power'=>'purchaselist','link'=>'purchaselist','rank'=>'2'),
'智能生成采购单'=>array('power'=>'purchaseautomaticProducePurchase','link'=>'/purchase/automaticProducePurchase','rank'=>'3'),
'采购列表'=>array('power'=>'purchasepurchaselist','link'=>'/purchase/purchaselist','rank'=>'3'),
'添加采购单'=>array('power'=>'purchaseaddpurchase','link'=>'/purchase/addpurchase','rank'=>'3'),
'质检处理'=>array('power'=>'qualityinspection','link'=>'/purchase/qualityinspection','rank'=>'3'),
'缺货列表'=>array('power'=>'Oustock','link'=>'/report/Oustock','rank'=>'3'),
'添加工厂采购单'=>array('power'=>'','link'=>'/purchase/addFactoryOrder','rank'=>'3'),
),
'仓库管理'=>array('仓库管理'=>array('power'=>'storage','link'=>'storage','rank'=>'2'),
'库存查询'=>array('power'=>'productstocksearch','link'=>'/product/stockSearch','rank'=>'3'),
'仓库设置'=>array('power'=>'productstorage','link'=>'/product/storage','rank'=>'3'),
),
'库存调拨'=>array('库存调拨'=>array('power'=>'handstorage','link'=>'handstorage','rank'=>'2'),
'手动出入库'=>array('power'=>'purchasehandstorage','link'=>'/purchase/handstorage','rank'=>'3'),
'盘点库存日志'=>array('power'=>'purchaseinputstock','link'=>'/purchase/inputstock','rank'=>'3'),
'可调货商品'=>array('power'=>'StoreManage','link'=>'/sales/changeStockList','rank'=>'3'),
'调拔单列表'=>array('power'=>'storeNeedList','link'=>'/sales/storeNeedList','rank'=>'3'),
),
'库存商品维护'=>array('库存商品维护'=>array('power'=>'goodsmanage','link'=>'goodsmanage','rank'=>'2'),
'商品清仓'=>array('power'=>'salesgoodsClearList','link'=>'/Sales/goodsClearList','rank'=>'3'),
'商品停售'=>array('power'=>'datareporthaltsales','link'=>'/datareport/haltsales','rank'=>'3'),
'停售查询'=>array('power'=>'datareporthaltgoodssales','link'=>'/datareport/haltgoodssales','rank'=>'3'),
'商品维护'=>array('power'=>'externalBuyMaintenance','link'=>'/externalBuy/Maintenance','rank'=>'3'),
),
),
'数据报表'=>array('数据报表'=>array('数据报表'=>array('power'=>'datareportlist','link'=>'datareportlist','rank'=>'2'),
'新品列表(数量提成)'=>array('power'=>'datareportproductlist','link'=>'/datareport/productlist','rank'=>'3'),
'新品提成(数量提成)'=>array('power'=>'productbonus','link'=>'/datareport/bonus','rank'=>'3'),
'店铺库息报表'=>array('power'=>'datareportinterest','link'=>'/datareport/interest','rank'=>'3'),
'外采报表'=>array('power'=>'datareportexternalBuy','link'=>'/datareport/externalBuy','rank'=>'3'),
'正向开发报表'=>array('power'=>'','link'=>'/datareport/newproduct','rank'=>'3'),
'清仓报表'=>array('power'=>'datareportstockclear','link'=>'/datareport/stockclear','rank'=>'3'),
'订单负利润'=>array('power'=>'datareportordernegative','link'=>'/datareport/ordernegative','rank'=>'3'),
'正向开发提成'=>array('power'=>'datareportnewproductPro','link'=>'/datareport/newproductPro','rank'=>'3'),
),
'店铺订单报表'=>array('店铺订单报表'=>array('power'=>'orderreport','link'=>'orderreport','rank'=>'2'),
'工厂销量'=>array('power'=>'goodsreportshowreport','link'=>'/goodsreport/showreport','rank'=>'3'),
'日收入报表'=>array('power'=>'reportorder','link'=>'/report/incomeForDay','rank'=>'3'),
'日销售报表'=>array('power'=>'reportreportorder','link'=>'/report/salesByDay','rank'=>'3'),
'月销售报表'=>array('power'=>'salesByMonth','link'=>'/report/salesByMonth','rank'=>'3'),
'热销商品排名'=>array('power'=>'salesGoodsRank','link'=>'/report/salesGoodsRank','rank'=>'3'),
'热销店铺排名'=>array('power'=>'salesShopRank','link'=>'/report/salesShopRank','rank'=>'3'),
'直发退款报表'=>array('power'=>'orderRefund','link'=>'/report/orderRefund','rank'=>'3'),
'国家销售额报表'=>array('power'=>'salesByCountry','link'=>'/report/salesByCountry','rank'=>'3'),
'单商品销售数据'=>array('power'=>'sellGoodSearch','link'=>'/report/sellGoodSearch','rank'=>'3'),
'店铺发货报表'=>array('power'=>'datareportscanorder','link'=>'/datareport/scanorder','rank'=>'3'),
'同比上年销售统计'=>array('power'=>'diffSalesCount','link'=>'/WalmartShop/diffSalesCount','rank'=>'3'),
'FBA订单日报表'=>array('power'=>'fbaSellForDay','link'=>'/report/fbaSellForDay','rank'=>'3'),
'FBA商品报表'=>array('power'=>'fbaGoodsRank','link'=>'/report/fbaGoodsRank','rank'=>'3'),
'FBA退款统计'=>array('power'=>'fbaRefund','link'=>'/report/fbaRefund','rank'=>'3'),
'FBA库存报表'=>array('power'=>'fbaStock','link'=>'/report/fbaStock','rank'=>'3'),
'地区销售额报表'=>array('power'=>'salesByArea','link'=>'/report/salesByArea','rank'=>'3'),
'店铺综合统计'=>array('power'=>'fbaShopSells','link'=>'/report/fbaShopSells','rank'=>'3'),
'新产品销量统计'=>array('power'=>'newProductSales','link'=>'/report/newProductSales','rank'=>'3'),
'新品周期统计'=>array('power'=>'productDevelopAnalysis','link'=>'/report/productDevelopAnalysis','rank'=>'3'),
'商品库存'=>array('power'=>'','link'=>'/report/showGoodstockByDay','rank'=>'3'),
),
'销售项目'=>array('销售项目'=>array('power'=>'sales','link'=>'sales','rank'=>'2'),
'项目销售报表'=>array('power'=>'salesProgramList','link'=>'/sales/salesProgramList','rank'=>'3'),
),
),
'工厂管理'=>array('工厂订单管理'=>array('工厂订单管理'=>array('power'=>'factoryorderlist','link'=>'/factory/orderlist','rank'=>'2'),
'工厂订单列表'=>array('power'=>'factorysorderlist','link'=>'/factory/orderlist','rank'=>'3'),
'工厂订单日志'=>array('power'=>'factoryorderlog','link'=>'/factory/orderlog','rank'=>'3'),
'优先处理订单'=>array('power'=>'factoryurgentorder','link'=>'/factory/urgentorder','rank'=>'3'),
'批量订单列表'=>array('power'=>'batchorderbatchOrderList','link'=>'/batchorder/batchOrderList','rank'=>'3'),
'生产工厂列表'=>array('power'=>'batchorderproduceFactoryList','link'=>'/batchorder/produceFactoryList','rank'=>'3'),
'工厂批量订单列表'=>array('power'=>'','link'=>'/batchfactoryorder/batchOrderList','rank'=>'3'),
),
'印花管理'=>array('印花管理'=>array('power'=>'productprint','link'=>'productprint','rank'=>'2'),
'印花订单列表'=>array('power'=>'productprintshowlist','link'=>'/productprint/showlist','rank'=>'3'),
),
'工厂财务管理'=>array('工厂财务管理'=>array('power'=>'caiwu','link'=>'caiwu','rank'=>'2'),
'出货记录报表'=>array('power'=>'factoryReportList','link'=>'/factory/ReportList','rank'=>'3'),
'工厂报表'=>array('power'=>'factoryrevenue','link'=>'/factory/revenue','rank'=>'3'),
'批量提醒'=>array('power'=>'ordercounts','link'=>'/factorydetail/ordercounts','rank'=>'3'),
'支出管理'=>array('power'=>'factoryaddexpend','link'=>'/factory/addexpend','rank'=>'3'),
'采购申请'=>array('power'=>'','link'=>'/applybuy/applyList','rank'=>'3'),
'财务查看打款信息'=>array('power'=>'','link'=>'/applybuy/applyRemitList','rank'=>'3'),
'正向开发报表(打版师)'=>array('power'=>'','link'=>'/applybuy/newproduct','rank'=>'3'),
),
'工厂物料管理'=>array('工厂物料管理'=>array('power'=>'wuliao','link'=>'wuliao','rank'=>'2'),
'物料列表'=>array('power'=>'factorymaterial','link'=>'/factory/material','rank'=>'3'),
),
'出入库管理'=>array('出入库管理'=>array('power'=>'','link'=>'/stocks/stocklist','rank'=>'2'),
'工厂订单扫件规则'=>array('power'=>'factoryscanOrderRules','link'=>'/factory/scanOrderRules','rank'=>'3'),
'工厂订单扫件'=>array('power'=>'scanorder','link'=>'/factory/scanorder','rank'=>'3'),
'定制销量查询'=>array('power'=>'goodsreportshowreport1','link'=>'/goodsreport/showreport','rank'=>'3'),
'库存管理'=>array('power'=>'','link'=>'/stocks/stocklist','rank'=>'3'),
'出库查询'=>array('power'=>'','link'=>'/stocks/outStockSearch','rank'=>'3'),
'入库查询'=>array('power'=>'','link'=>'/stocks/inStockSearch','rank'=>'3'),
'退货商品'=>array('power'=>'stocksreturnGoodsList','link'=>'/stocks/returnGoodsList','rank'=>'3'),
),
),
'海外管理'=>array('产品管理'=>array('产品管理'=>array('power'=>'oversea','link'=>'oversea','rank'=>'2'),
'海外仓产品目录'=>array('power'=>'productlist','link'=>'/oversea/product','rank'=>'3'),
),
'运输管理'=>array('运输管理'=>array('power'=>'transport','link'=>'transport','rank'=>'2'),
'申请调拨'=>array('power'=>'purchasing','link'=>'/oversea/purchasing','rank'=>'3'),
'调拨申请列表'=>array('power'=>'purchasinglist','link'=>'/oversea/purchasinglist','rank'=>'3'),
'调拨列表'=>array('power'=>'deliveryplan','link'=>'/oversea/deliveryplanpro','rank'=>'3'),
'运输计划列表'=>array('power'=>'deliveryplanlist','link'=>'/oversea/deliveryplanlist','rank'=>'3'),
'待发货物'=>array('power'=>'transportboxtypelist','link'=>'/oversea/transportboxtypelist','rank'=>'3'),
'运输任务列表'=>array('power'=>'transportlist','link'=>'/oversea/transportlist','rank'=>'3'),
'海外仓运输报表'=>array('power'=>'overseareport','link'=>'/oversea/report','rank'=>'3'),
),
'二号仓库存记录'=>array('二号仓库存记录'=>array('power'=>'overseastocklist','link'=>'/oversea/stocklist','rank'=>'2'),
'库存列表'=>array('power'=>'overseastocklist','link'=>'/oversea/stocklist','rank'=>'3'),
'入库列表'=>array('power'=>'overseaaddstocklist','link'=>'/oversea/addstocklist','rank'=>'3'),
'出库列表'=>array('power'=>'overseaaddstocklistt','link'=>'/oversea/addstocklist?t=2','rank'=>'3'),
),
'海外仓设置'=>array('海外仓设置'=>array('power'=>'overseaset','link'=>'overseaset','rank'=>'2'),
'相关设置'=>array('power'=>'overseasyscenter','link'=>'/oversea/syscenter','rank'=>'3'),
'海外仓库设置'=>array('power'=>'warehouse','link'=>'/oversea/warehouse','rank'=>'3'),
'海外仓派仓规则'=>array('power'=>'overseaoversearuleslist','link'=>'/oversea/oversearuleslist','rank'=>'3'),
'海外仓账单'=>array('power'=>'','link'=>'/oversea/showOverseaBill','rank'=>'3'),
),
'海外仓库存'=>array('海外仓库存'=>array('power'=>'overseaapistocklist','link'=>'/overseaapi/stocklist','rank'=>'2'),
'EZGO美国仓'=>array('power'=>'overseaapiusastocklist','link'=>'/overseaapi/usastocklist','rank'=>'3'),
'英华英国仓'=>array('power'=>'overseaapiukstocklist','link'=>'/overseaapi/ukstocklist','rank'=>'3'),
'英华德国仓'=>array('power'=>'overseaapistocklist','link'=>'/overseaapi/stocklist','rank'=>'3'),
' 万邑通美西仓'=>array('power'=>'','link'=>'/overseaapi/winitstocklist','rank'=>'3'),
),
'海外仓出库'=>array('海外仓出库'=>array('power'=>'overseaapishowSendGoodsListOversea','link'=>'/overseaapi/showSendGoodsListOversea','rank'=>'2'),
'海外仓订单列表'=>array('power'=>'overseaapishowSendGoodsListOversea','link'=>'/overseaapi/showSendGoodsListOversea','rank'=>'3'),
'订单日志'=>array('power'=>'overseaapishowOrderLogOversea','link'=>'/overseaapi/showOrderLogOversea','rank'=>'3'),
),
),
'物流管理'=>array('物流设置'=>array('物流设置'=>array('power'=>'expressshipmentset','link'=>'expressshipmentset','rank'=>'2'),
'物流渠道管理'=>array('power'=>'orderexpresstype','link'=>'/order/expresstype','rank'=>'3'),
),
'物流交运'=>array('物流交运'=>array('power'=>'orderexpress','link'=>'orderexpress','rank'=>'2'),
'顺丰交运'=>array('power'=>'ordersfexpress','link'=>'/order/sfexpress','rank'=>'3'),
'UPS交运'=>array('power'=>'ordersfexpress2','link'=>'/order/sfexpress/2','rank'=>'3'),
'DHL交运'=>array('power'=>'DHLexpress','link'=>'/expressshipment/datalist','rank'=>'3'),
'CNE交运'=>array('power'=>'CNEexpress','link'=>'/expressshipment/datalist/4','rank'=>'3'),
'UBI交运'=>array('power'=>'UBIexpress','link'=>'/expressshipment/datalist/5','rank'=>'3'),
'燕文交运'=>array('power'=>'/deliverorderemsExpress7','link'=>'/deliverorder/emsExpress/7','rank'=>'3'),
'云途交运'=>array('power'=>'/deliverorderemsExpress','link'=>'/deliverorder/emsExpress','rank'=>'3'),
'无忧物流'=>array('power'=>'无忧物流','link'=>'/deliverorder/aliexpressOrder','rank'=>'3'),
'E邮宝线下上海'=>array('power'=>'/deliverorderemsExpress8','link'=>'/deliverorder/emsExpress/8','rank'=>'3'),
'日本邮政'=>array('power'=>'yidaexpress','link'=>'/expressshipment/datalist/10','rank'=>'3'),
'CNPOST'=>array('power'=>'deliverorderemsExpress11','link'=>'/deliverorder/emsExpress/11','rank'=>'3'),
'佳成物流'=>array('power'=>'12','link'=>'/expressshipment/datalist/12','rank'=>'3'),
'欧速通'=>array('power'=>'','link'=>'/deliverorder/emsExpress/13','rank'=>'3'),
'中通快递'=>array('power'=>'datalist_14','link'=>'/expressshipment/datalist/14','rank'=>'3'),
'交运对账'=>array('power'=>'','link'=>'/orderexcel/doBillWithExpress','rank'=>'3'),
'交运对帐列表'=>array('power'=>'expressCheckHistory','link'=>'/CheckExpressPrice/expressCheckHistory','rank'=>'3'),
),
),
'系统设置'=>array('基础设置'=>array('基础设置'=>array('power'=>'system','link'=>'system','rank'=>'2'),
'店铺授权管理'=>array('power'=>'setshop','link'=>'/management/setshop','rank'=>'3'),
'物流帐号授权'=>array('power'=>'expressshipment','link'=>'/order/orderset','rank'=>'3'),
'系统设置'=>array('power'=>'syscenter','link'=>'/management/syscenter','rank'=>'3'),
'工厂设置'=>array('power'=>'factory','link'=>'/management/factory','rank'=>'3'),
'货币汇率'=>array('power'=>'MoneyRateManage','link'=>'/MoneyRateManage/index','rank'=>'3'),
'平台设置'=>array('power'=>'platform','link'=>'/management/platform','rank'=>'3'),
),
'员工管理'=>array('员工管理'=>array('power'=>'userlist','link'=>'userlist','rank'=>'2'),
'职务设置'=>array('power'=>'usergroup','link'=>'/user/usergroup','rank'=>'3'),
'部门设置'=>array('power'=>'department','link'=>'/user/department','rank'=>'3'),
'员工列表(子帐号)'=>array('power'=>'userlist','link'=>'/management/userlist','rank'=>'3'),
'外部组员'=>array('power'=>'managementexternaluser','link'=>'/management/externaluser','rank'=>'3'),
),
'开发人员'=>array('开发人员'=>array('power'=>'developer','link'=>'developer','rank'=>'2'),
'栏目管理'=>array('power'=>'development','link'=>'/management/menulist','rank'=>'3'),
),
),
);

$config['webmenu'] =$menudb;
$config['base_menuName'] =$base_menuName;
